(function(){
var escapeHtml = function(html){
var text = document.createTextNode(html);
var p = document.createElement('p');
p.appendChild(text);
return p.innerHTML;
}
var addSpan = function(options){
var withSpan = 'A Four Seasons Hotel';
if(options.escapeHtml){
withSpan = escapeHtml(withSpan);
}
return withSpan;
}
window.FS = window.FS || {};
window.FS.resizeBeverlyWilshire = function(text, options){
options = options || {};
if(text && (typeof text === "string")){
text = text.replace("Beverly Wilshire, A Four Seasons Hotel", "Beverly Wilshire, " + addSpan(options));
}
return text
};
})();